package com.jeesite.modules.exam.notice.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

import javax.validation.constraints.Size;

/**
 * 考核任务通知表-被通知单位Entity
 * @author xhc
 * @version 2022-05-28
 */
@Table(name="dc_sup_exam_notice_org", alias="a", label="考核任务通知表-被通知单位信息", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="notice_id", attrName="noticeId", label="通知id"),
		@Column(name="notice_org", attrName="noticeOrg", label="通知单位编码", comment="通知单位编码（单选）"),
		@Column(name="notice_org_name", attrName="noticeOrgName", label="通知单位名称", comment="通知单位名称（单选）"),
		@Column(name="notice_status", attrName="noticeStatus", label="通知状态", comment="通知状态（0删除、1待接收、2已操作）"),
		@Column(name="org_type", attrName="orgType", label="区县，其它", comment="区县1，其它2"),
	}, orderBy="a.id DESC"
)
public class DcSupExamNoticeOrg extends DataEntity<DcSupExamNoticeOrg> {
	
	private static final long serialVersionUID = 1L;
	 /**
	 * 通知id
	 */
	private String noticeId;
	 /**
	 * 通知单位编码（单选）
	 */
	private String noticeOrg;
	 /**
	 * 通知单位名称（单选）
	 */
	private String noticeOrgName;
	 /**
	 * 通知状态（0删除、1待接收、2已操作）
	 */
	private String noticeStatus;

	private String noticeType;

	private String examId;

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	/**
	 * 区县 1   其它 2
	 */
	private String orgType;
	public String getExamId() {
		return examId;
	}

	public void setExamId(String examId) {
		this.examId = examId;
	}

	public String getNoticeType() {
		return noticeType;
	}

	public void setNoticeType(String noticeType) {
		this.noticeType = noticeType;
	}

	public DcSupExamNoticeOrg() {
		this(null);
	}

	public DcSupExamNoticeOrg(String id){
		super(id);
	}
	
	@Size(min=0, max=64, message="通知id长度不能超过 64 个字符")
	public String getNoticeId() {
		return noticeId;
	}

	public void setNoticeId(String noticeId) {
		this.noticeId = noticeId;
	}
	
	@Size(min=0, max=100, message="通知单位编码长度不能超过 100 个字符")
	public String getNoticeOrg() {
		return noticeOrg;
	}

	public void setNoticeOrg(String noticeOrg) {
		this.noticeOrg = noticeOrg;
	}
	
	@Size(min=0, max=100, message="通知单位名称长度不能超过 100 个字符")
	public String getNoticeOrgName() {
		return noticeOrgName;
	}

	public void setNoticeOrgName(String noticeOrgName) {
		this.noticeOrgName = noticeOrgName;
	}
	
	@Size(min=0, max=10, message="通知状态长度不能超过 10 个字符")
	public String getNoticeStatus() {
		return noticeStatus;
	}

	public void setNoticeStatus(String noticeStatus) {
		this.noticeStatus = noticeStatus;
	}
	
}